/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.penguin.modules.field.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.penguin.modules.field.entity.FieldAssignedTask;
import com.thinkgem.penguin.modules.field.dao.FieldAssignedTaskDao;

/**
 * 指派任务Service
 * @author 余小凡
 * @version 2015-05-22
 */
@Service
@Transactional(readOnly = true)
public class FieldAssignedTaskService extends CrudService<FieldAssignedTaskDao, FieldAssignedTask> {

	public FieldAssignedTask get(String id) {
		return super.get(id);
	}
	
	public List<FieldAssignedTask> findList(FieldAssignedTask fieldAssignedTask) {
		return super.findList(fieldAssignedTask);
	}
	
	public Page<FieldAssignedTask> findPage(Page<FieldAssignedTask> page, FieldAssignedTask fieldAssignedTask) {
		return super.findPage(page, fieldAssignedTask);
	}
	
	@Transactional(readOnly = false)
	public void save(FieldAssignedTask fieldAssignedTask) {
		super.save(fieldAssignedTask);
	}
	
	@Transactional(readOnly = false)
	public void delete(FieldAssignedTask fieldAssignedTask) {
		super.delete(fieldAssignedTask);
	}
	
}